﻿<MAlert Text Class="@($"{Class} {(Transparent?"":"elevation-1")}")"
            Type="Type"
            Color="@Color"
            Style="@(Transparent?"":"background-color: var(--md-sys-color-background)!important;")"
            Icon="@Icon">
        @ChildContent
</MAlert>

 @code {
    [Parameter]
    public AlertTypes Type { get; set; }
    [Parameter]
    public string Icon { get; set; }
    [Parameter]
    public string Color { get; set; }
    [Parameter]
    public bool Outline { get; set; }
    [Parameter]
    public string Class { get; set; }
    [Parameter]
    public bool Transparent { get; set; }
    [Parameter]
    public RenderFragment ChildContent { get; set; }
}

